package com.basics.channel.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.basics.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 频道用户绑定表
 * </p>
 *
 * @author WangWei
 * @since 2025-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cy_channel_group_user")
@ApiModel(value="CyChannelGroupUser对象", description="频道用户绑定表")
public class CyChannelGroupUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "频道用户绑定ID")
    private String id;

    @ApiModelProperty(value = "频道ID")
    private Long channelId;

    @ApiModelProperty(value = "分组ID")
    @TableField(strategy = FieldStrategy.IGNORED)
    private String groupId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "是否免打扰")
    private Integer disturbFlag;

    @ApiModelProperty(value = "是否置顶")
    private Integer topFlag;


}
